import request from '@/utils/request';

export async function getWrokingHoursOverViewByPage (params: any) {
    return request('/api/product/getWrokingHoursOverViewByPage', {
    method: 'POST',
    data: params,
  });
}



export async function addWrokingHoursOverView (params: any) {
    return request('/api/product/addWrokingHoursOverView', {
    method: 'POST',
    data: params,
  });
}

export async function updateWrokingHoursOverView (params: any) {
    return request('/api/product/updateWrokingHoursOverView', {
    method: 'POST',
    data: params,
  });
}

export async function delWrokingHoursOverView (params: any) {
    return request('/api/product/delWrokingHoursOverView', {
    method: 'POST',
    data: params,
  });
}


export async function exportWrokingHoursOverView(params: any) {
    return request('/api/product/exportWrokingHoursOverView', {
    method: 'POST',
    data: params,
    responseType: 'blob',
  });
}
export default { getWrokingHoursOverViewByPage, addWrokingHoursOverView, updateWrokingHoursOverView, delWrokingHoursOverView, exportWrokingHoursOverView }
